package com.yisoo.ubag.iot.feign;

import com.yisoo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("ubag-product")
public interface ProductFeignService {

    @GetMapping("/feign/active/{devname}/{status}")
    R activeDev(@PathVariable("devname") String devName, @PathVariable("status") Integer status);
}
